package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.model.BFiles;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;

/**
 * 商户分享文件 存储service
 *
 * @author lm
 */
public interface BFilesService {

    int add(BFiles bFiles);

    BFiles selectByBillid(Long billId);

    void returnFile(HttpServletRequest request, HttpServletResponse response, String billId, String time) throws FileNotFoundException, IOException;

    List<BFiles> selectByBillids(List<Long> billIds);

}